package com.cfswt.tasksystem.mapper;


import com.cfswt.tasksystem.pojo.entity.TaskCoordinateSummary;
import com.cfswt.tasksystem.pojo.entity.TaskPlanSummary;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TaskPlanSummaryMapper {
    int addTaskPlanSummary(TaskPlanSummary taskPlanSummary);

    List<TaskPlanSummary> selectPlanSummariesByTaskId(Integer id);

    List<TaskPlanSummary> selectPlanSummariesByTaskIdAndWeekLabel(Integer taskId, Integer weekLabel);

    int updateTaskPlanSummary(TaskPlanSummary taskPlanSummary);

}
